﻿<%@Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<%@ Page language="c#" Codebehind="emailcompose.aspx.cs" validateRequest="false" AutoEventWireup="true" Inherits="sow.emailcompose" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>forumMain</title>
		<meta content="False" name="vs_snapToGrid">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<LINK href="../springofwater.css" type="text/css" rel="stylesheet">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="javascript">
			function showmsg(){
				var msg = document.all("Label_Message");
				if(msg.innerText != ""){
					alert(msg.innerText);
					if(document.all("Label_TextBoxName").innerText != '')
						document.all(document.all("Label_TextBoxName").innerText).focus();
				}
			}
		</script>
	</HEAD>
	<body MS_POSITIONING="GridLayout" onload="showmsg();">
		<div align="center">
			<div align="center">
				<table id="table812" width="80%" border="0">
					<tr>
						<td align="center">
							<%Server.Execute("header.aspx");%>
						</td>
					</tr>
				</table>
				<table cellSpacing="0" cellPadding="0" width="770" align="center" border="0">
					<tr>
						<td><!--insert menu here-->
							<ul style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px; FONT-FAMILY: SimSun; LIST-STYLE-TYPE: none; BACKGROUND-COLOR: white">
								<li style="DISPLAY: inline">
									<A class="menu" href="index.aspx">泉源首页</A>
								<li style="DISPLAY: inline">
									<A class="menu" href="forumsStart.aspx">泉源论坛</A>
								<li style="DISPLAY: inline">
									<A class="menu" href="bloggermain.aspx">泉源博客</A>
								<li style="DISPLAY: inline">
									<A class="empty" href=""></A>
								<li style="DISPLAY: inline">
									<A class="menu" href="dengji.aspx">注册登记</A>
								<li style="DISPLAY: inline">
									<A class="menu" href="women.aspx">关于我们</A>
								<li style="DISPLAY: inline">
									<A class="menu" href="mailto:contact@springofwater.net">联络我们</A>
								</li>
							</ul>
						</td>
					</tr>
				</table>
			</div>
			<form id="Form1" method="post" runat="server">
				<div align="center">
					<table style="WIDTH: 751px; HEIGHT: 121px" borderColor="#6699cc" cellSpacing="0" cellPadding="0"
						align="center" border="1">
						<tr>
							<td>
								<TABLE id="Table1" style="WIDTH: 777px; HEIGHT: 98px" cellSpacing="0" cellPadding="0" width="777"
									border="0" bgColor="whitesmoke">
									<TR>
										<TD style="WIDTH: 91px" align="right"></TD>
										<TD align="left">&nbsp;</TD>
									</TR>
									<TR>
										<TD style="WIDTH: 91px; HEIGHT: 24px" align="right"><FONT color="#0000ff">From:</FONT></TD>
										<TD align="left" style="HEIGHT: 24px">&nbsp;
											<asp:TextBox id="TextBox1" runat="server">xuejason@yahoo.com</asp:TextBox><FONT size="2">
												<EM><FONT color="#ff3366"></FONT></EM></FONT>
										</TD>
									</TR>
									<TR>
										<TD style="WIDTH: 91px" align="right"></TD>
										<TD>&nbsp;</TD>
									</TR>
									<TR>
										<TD style="WIDTH: 91px" align="right"><FONT color="#0000cc">To:</FONT></TD>
										<TD>
											<TABLE id="Table4" style="WIDTH: 708px; HEIGHT: 42px" cellSpacing="0" cellPadding="0" width="708"
												border="0">
												<TR>
													<TD style="WIDTH: 141px; HEIGHT: 14px" align="right"><FONT size="2" color="#0000cc">输入电子邮件：</FONT></TD>
													<TD style="HEIGHT: 14px">
														<asp:TextBox id="TextBox2" runat="server" Width="302px"></asp:TextBox></TD>
													<TD style="HEIGHT: 14px">
														<asp:regularexpressionvalidator id="regularexpressionvalidator1" runat="server" controltovalidate="TextBox2" validationexpression="^\w+((-\w+)|(\.\w+))*\@[a-za-z0-9]+((\.|-)[a-za-z0-9]+)*\.[a-za-z0-9]+$"
															display="static" font-name="verdana" font-size="10pt"> 
               请输入有效的e-mail地址! 
</asp:regularexpressionvalidator></TD>
												</TR>
												<TR>
													<TD style="WIDTH: 141px" align="right"><FONT color="#0000cc" size="2">或选择电子邮件列表：</FONT></TD>
													<TD>
														<asp:dropdownlist id="DropDownList1" runat="server" Width="309px"></asp:dropdownlist></TD>
													<TD><FONT size="2"><A href="emaillist.aspx"><font color="blue">编辑/增加电子邮件列表</font></A></FONT></TD>
												</TR>
											</TABLE>
											&nbsp;&nbsp;&nbsp;
										</TD>
									</TR>
									<TR>
										<TD style="WIDTH: 91px; HEIGHT: 18px" align="right"></TD>
										<TD style="HEIGHT: 18px" align="right">
											<asp:Button id="ButtonTop" runat="server" Text="发送电子邮件" OnClick="ButtonTop_Click1"></asp:Button></TD>
									</TR>
									<TR>
										<TD style="WIDTH: 91px; HEIGHT: 18px" align="right"><FONT color="#3300ff">Subject:</FONT></TD>
										<TD style="HEIGHT: 18px" align="left"><FONT color="#000000" size="2">
												<asp:Label id="Label_Subject" runat="server"></asp:Label></FONT></TD>
									</TR>
									<TR>
										<TD style="WIDTH: 91px; HEIGHT: 19px"></TD>
										<TD style="HEIGHT: 19px"></TD>
									</TR>
									<TR>
										<TD style="WIDTH: 91px"></TD>
										<TD>
											<TABLE id="Table2" cellSpacing="0" cellPadding="0" border="1" style="WIDTH: 709px">
												<TR>
													<TD borderColor="blue">
														<TABLE id="Table3" cellSpacing="0" cellPadding="0" border="0">
															<tr>
																<td align="center" style="WIDTH: 704px; HEIGHT: 128px">
																	<FCKEDITORV2:FCKEDITOR id="FCKeditor2" runat="server"></FCKEDITORV2:FCKEDITOR>
																</td>
															</tr>
															<TR>
																<TD style="WIDTH: 704px"><asp:imagebutton id="ImageButton1" runat="server" ToolTip="请点击进入泉源网" ImageUrl="images\email_footer.gif"></asp:imagebutton></TD>
															</TR>
														</TABLE>
													</TD>
												</TR>
											</TABLE>
										</TD>
									</TR>
									<TR>
										<TD style="WIDTH: 91px"></TD>
										<TD align="center">&nbsp;&nbsp;&nbsp;
										</TD>
									</TR>
									<TR>
										<TD style="WIDTH: 91px"></TD>
										<TD align="center"><asp:button id="Button2" runat="server" Text="发送电子邮件" OnClick="Button2_Click1"></asp:button>
											<asp:Button id="Button3" runat="server" Text="取消" OnClick="Button3_Click"></asp:Button></TD>
									</TR>
								</TABLE>
							</td>
						</tr>
					</table>
				</div>
				<TABLE id="Table11" cellSpacing="0" cellPadding="0" rules="none" width="750" align="center"
					border="0" style="DISPLAY:none">
					<tr>
						<td height="25"><asp:Label id="Label_TextBoxName" runat="server"></asp:Label>
							<asp:label id="Label_Message" runat="server" EnableViewState="False" BorderStyle="Solid" BackColor="#FFFFE1"
								BorderWidth="1px"></asp:label></td>
					</tr>
				</TABLE>
			</form>
			<DIV align="center">
				<table id="table81" width="80%" border="0">
					<tr>
						<td align="center">
							<% Server.Execute("tail.aspx");%>
						</td>
					</tr>
				</table>
			</DIV>
			<DIV></DIV>
		</div>
	</body>
</HTML>
